// Author: combacsa@kaist.ac.kr
// http://www.jungol.co.kr/prog/Hanal/hanalView.php?qs_code=126

//#define COMPILE
#ifdef COMPILE

#include <fstream>
using namespace std;

int main() {
	ifstream in("input.txt");
	int odd, even, n;
	odd = 0;
	even =0;
	do {
		in >> n;
		if (n > 0) {
			if (n % 2 == 0)
				even++;
			else
				odd++;
		}
	} while (n !=0);
	in.close();
	ofstream out("output.txt");
	out << "홀수 : " << odd << "개" << endl;
	out << "짝수 : " << even<< "개" << endl;
	out.close();


	return 0;
}
#endif
